package edu.xhu.video.mapper;

import edu.xhu.model.video.pojos.BiliVideoData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface HotVideoMapper {
    List<BiliVideoData> getTopVideos(@Param("playWeight") double playWeight,
                                     @Param("danmuWeight") double danmuWeight,
                                     @Param("likesWeight") double likesWeight,
                                     @Param("coinWeight") double coinWeight,
                                     @Param("collectWeight") double collectWeight,
                                     @Param("sharesWeight") double sharesWeight,
                                     @Param("commentsWeight") double commentsWeight,
                                     @Param("intervalDays") int intervalDays,
                                     @Param("limit") int limit);

}
